package com.xiguaji.tiktok.v1.tiktok.blogger.repository;


import com.xiguaji.tiktok.v1.tiktok.blogger.model.Configuration;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;


/**
 * Configuration Dao
 */
@Repository
public interface ConfigurationRepository extends CrudRepository<Configuration,Long> {
    /**
     * 根据配置名查找
     * @param cfgName
     * @return
     */
    Optional<Configuration> findByCfgName(String cfgName);
}
